﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="TeacherList.aspx.cs" Inherits="UI.ModTrain.TeacherList" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>培训师列表</title>
     <link rel="stylesheet" type="text/css" href="../Styles/BaseStyle.css" />
    <script type="text/javascript" src="../JS/jsFunction.js"></script>
    <script src="../JS/calendar.js" type="text/javascript"></script>

</head>
<body>
    <form id="form1" runat="server">
    <div id="pagetop" class="pagetop">
        <div class="pagetopleft">
            培训师列表</div>
        <div id="topRight" class="pagetopright">
            关键字<asp:TextBox ID="txtSerWord" runat="server" CssClass="InputCss" Width="75px"></asp:TextBox>
            <asp:Button ID="btnEmSearch" runat="server" Text="查询" OnClick="btnEmSearch_Click"
                CssClass="ButtonCss" />
           
            <asp:Button ID="btnAdd" runat="server" Text="增加" CssClass="ButtonCss" />
            &nbsp;
        </div>
    </div>
    <asp:GridView ID="gvList" runat="server" DataKeyNames="TeacherCode" Width="100%" AutoGenerateColumns="False"
       
 GridLines="Horizontal" OnRowDataBound="gvList_RowDataBound" CssClass="td">
        <Columns>
        

           <asp:TemplateField HeaderText="编号" SortExpression="TeacherCode"  ItemStyle-HorizontalAlign="Center">
                <ItemTemplate>
                    <a href="javascript:ShowLink('TeacherAdd.aspx?TeacherCode=<%# Eval("TeacherCode")%>',800,550)">
                        <%# Eval("TeacherCode")%></a>
                </ItemTemplate>
                <ItemStyle Width="80px" />
            </asp:TemplateField>
           
            <asp:TemplateField HeaderText="姓名" SortExpression="CnName"  ItemStyle-HorizontalAlign="Center">
                <ItemTemplate>
                    <a href="javascript:ShowLink('TeacherAdd.aspx?TeacherCode=<%# Eval("TeacherCode")%>',800,550)">
                        <%# Eval("CnName")%></a>
                </ItemTemplate>
                <ItemStyle Width="80px" />
            </asp:TemplateField>
            <asp:BoundField DataField="EnName" HeaderText="英文姓名" SortExpression="EnName">
                <ItemStyle Width="90px" />
            </asp:BoundField>
            <asp:BoundField DataField="Sex" HeaderText="性别" SortExpression="Sex">
                <ItemStyle Width="50px" />
            </asp:BoundField>
            <asp:BoundField DataField="Title" HeaderText="头衔" SortExpression="Title">
                <ItemStyle Width="90px" />
            </asp:BoundField>
            <asp:BoundField DataField="JoinTime" HeaderText="加入时间" DataFormatString="{0:d}" SortExpression="JoinTime">
                <ItemStyle Width="90px" />
            </asp:BoundField>
            <asp:BoundField DataField="LinkWay" HeaderText="联系方式" SortExpression="LinkWay">
                <ItemStyle Width="100px" />
            </asp:BoundField>
         
            <asp:BoundField DataField="FromCom" HeaderText="公司" SortExpression="FromCom">
                <ItemStyle Width="110px" />
            </asp:BoundField>
            <asp:BoundField DataField="Memo" HeaderText="备注" SortExpression="Memo">
                <ItemStyle Width="120px" />
            </asp:BoundField>
        </Columns>
       
    </asp:GridView>
     <div id="divAmount" class="amountLine">
        <asp:Label ID="lbAmount" runat="server"></asp:Label>
    </div>
    </form>
</body>
</html>
